package com.lijian.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lijian.community.model.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    void save(User user);

    User findByToken(String token);

    User findById(Integer creator);

    User findByAccountId(String accountId);

    void updateByAccountId(User user);
}
